home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
676-700
/
676
/
fbm
/
fbm10man.zoo
/
MAN
/
fbnorm.man
< prev
next >
Wrap
Text File
|
1990-12-18
|
3KB
|
133 lines
FBNORM(1) 25-Jun-90 FBNORM(1)
3
1mNAME
0mfbnorm \- normalize and adjust grayscale or color image
1mSYNOPSIS
0mfbnorm [ -b<val> -w<val> ] [ -<type> ] < image > image
1mDESCRIPTION
0mExtends the contrast range to a full 0 to 255. The
arguments -1mb 0mand -1mw 0mgiven the percentage of the darkest
pixels to map to black and lightest pixels to map to white.
For color images the default is to discard 0.5% each of the
darkest and lightest pixels. Increasing the contrast beyond
that may result in significant color artifacts (because the
color values will be partially clipped).
1mOPTIONS
0m-1mb0m<1mnum0m>, -w<num> 3mpercentage black, white 0mpixels to map to 0,
255. The default for grayscale images is to "discard" 2
percent of the black pixels and 1 percent of the white
pixels. For color images both values default to 0.5
percent.
An alternate form is to specify two integers, which will
then be linearly mapped to 0 and 255.
1mEXAMPLE
0mTo normalize a grayscale FBM image using defaults:
% fbnorm < foo.fbm > bar.fbm
To increase contrast by discarding 10 percent of the black
pixels and 5 percent of the white pixels:
% fbnorm -b10 -w5 < foo.fbm > bar.fbm
Or, if you know that you want 34 to map to 0 and 197 to map
to 255, you can just type:
% fbnorm 34 197 < foo.fbm > bar.fbm
1mSEE ALSO
0mfbm(1) for general discussion, pbm(1) for PBM routines.
1mBUGS
0mNone known.
1mHISTORY
0mCopyright (C) 1989,1990 by Michael Mauldin. Permission is
granted to use this file in whole or in part for any
purpose, educational, recreational or commercial, provided
that this copyright notice is retained unchanged. This
software is available to all free of charge by anonymous FTP
-1-
FBNORM(1) 25-Jun-90 FBNORM(1)
and in the UUNET archives.
25-Jun-90 Michael Mauldin at Carnegie Mellon University
Release 1.0 mlmcs.cmu.edu
07-Mar-89 Michael L. Mauldin at Carnegie Mellon University
Beta release (version 0.9) mlmcs.cmu.edu
-2-